<aside class="sidebar">
    <div class="side_block">
        <h3>
            文章分类
        </h3>
        <div class="tags">
            <a href="{:url('cms/index/index')}">
                所有分类
            </a>
            {volist name="category_list" id="category"}
                <a href="{:url('cms/index/index',['cat_id'=>$category['term_id']])}">
                    {$category.name}
                </a>
            {/volist}
        </div>
    </div>

    <div class="side_block">
        <h3>
            热门标签
        </h3>
        <div class="tags">
            {volist name="tag_list" id="tag"}
                <a href="{:url('cms/index/index',['tag_id'=>$tag['term_id']])}">
                    {$tag.name}
                </a>
            {/volist}
        </div>
    </div>
</aside>